﻿// code03050200.cpp : 数组
// 访问数组元素

#include <iostream>
using namespace std;
int main()
{
    cout << "输入一系列成绩：" << endl;
    int scores[11] = {};
    int grade;
    while (cin>>grade)
    {
	    if (grade<=100)
	    {
            ++scores[grade / 10];
	    }
    }
    for (int score : scores)
    {
        cout << score << " ";
    }
    cout << endl;

    return 0;
}

